//
//  WBTestController.swift
//  weibobo
//
//  Created by KIMI on 16/9/20.
//  Copyright © 2016年 KIMI. All rights reserved.
//

import UIKit

class WBTestController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor = UIColor.white
        addNavRightButton()
    }
    
    
    
    func addNavRightButton(){
        
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "push", target: self, action: #selector(pushAction))
        
    }
    
    func pushAction()->Void{
        
        let testVc = WBTestController()
        navigationController?.pushViewController(testVc, animated: true)
    }


    



}
